package pi.client.board;

public class MapStructure {
	public static final int MAP1 = 1;
	public static final int MAP2 = 2;
	public static final int MAP3 = 3;
	public static final int MAP4 = 4;
	
	public String mapName;
	public int width;
	public int height;
	
	public int data[][];
	
	public MapStructure(){
		mapName = "";
		width = 0;
		height = 0;
		data = null;
	}
	
	public void CreateData(){
		data = new int [width][height];
	}
	
	public void ShowName(){
		System.out.println("Name = " + mapName);
	}
	
	public void ShowSize(){
		System.out.println("Width = " + width + " Height = " + height);
	}
	
	public void ShowData(){
		for(int i = 0; i < height; i++){
			for(int j = 0; j < width; j++){
				System.out.print(data[j][i] + " ");
			}
			System.out.println();
		}
	}
}
